home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / amiutils / q_t / raystorm / arexx / title.ray < prev    next >
Encoding:
Text File  |  1995-12-31  |  920 b   |  52 lines

  1. /***************
  2.  * NAME:          title.ray
  3.  * VERSION:       1.0 21.07.1995
  4.  * DESCRIPTION:   This ARexx-programm renders the RayStorm title
  5.  *    AUTHORS:            Andreas Heumann
  6.  * BUGS:          none
  7.  * TO DO:         none
  8.  * HISTORY:
  9.  *    DATE        NAME    COMMENT
  10.  *      21.07.95    ah        initial release
  11.  ***************/
  12.  
  13. signal on error
  14.  
  15. options results
  16.  
  17. IF ~show('P','RAYSTORM') THEN DO
  18.     address COMMAND 'run >NIL: <NIL: /RayStorm'
  19.     address COMMAND WaitForPort RAYSTORM
  20. END  
  21.  
  22. address RAYSTORM
  23.  
  24. 'BRUSHPATH /brushes'
  25.  
  26. 'SETSCREEN 320 256'
  27. 'SETCAMERA <0,0,-700> <0,0,0> <0,1,0> 56.25 45'
  28. 'SETWORLD REFLMAP=reflectionmap'
  29. 'POINTLIGHT <0,0,-700>'
  30.  
  31. 'NEWSURFACE BACK'
  32. 'DIFFUSE [100,140,200]'
  33. 'SPECULAR [0,0,0]'
  34.  
  35. 'PLANE BACK <0,0,180> <0,0,1>'
  36.  
  37. 'LOADOBJ mcpp:work/octree/rexx/title.iob'
  38.  
  39. 'STARTRENDER'
  40.  
  41. 'SAVEPIC mcpp:work/octree/rexx/title.iff'
  42.  
  43. 'CLEANUP'
  44.  
  45. exit 0
  46.  
  47. error:
  48. say "Error" rc "in line" sigl ":"
  49. GETERRORSTR rc
  50. say result
  51. exit 0
  52.